<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<link href="../css/layui.css" rel="stylesheet">
<script type="text/javascript" src="../layui.all.js"></script>
		<title>...</title>
	
	</head>
	<body>
	<body class="childrenBody">

	${msg }<br/>
    <c:if test="${code==0 }">
    	<textarea rows="10" cols="72" id="msg">${data }</textarea>
    	<br/>
    	<button class="layui-btn" onclick="jiemi()">解密</button>
    	
    	<br/>
    	<textarea rows="10" cols="72" id="jiemi"></textarea>
    </c:if>
<script type="text/javascript" src="../js/common/jquery.min.js"></script>
<script>
    $(function(){
       
    })

    function jiemi(){
    	var url = "/web_seach/accTest/decrypt";
    	
        $.ajax({
            url: url,
            data:{"text":$("#msg").val()},
            success: function(data){
            	
            	$("#jiemi").val(data);
            }
        });
    }
    layui.use(['form','layer' ], function() {
        var form = layui.form;
        var layer = layui.layer;
      
    });

</script>
</body>

</body>


</html>
